package cn.itcast.demo.pojo;

import com.leyou.starter.elastic.annotaions.Id;
import com.leyou.starter.elastic.annotaions.Index;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 虎哥
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Index("goods2")
public class Goods {
    @Id
    private Long id;
    private String name;
    private String title;
    private Long price;
}